{% extends 'basic_app/master.html' %}
{% block tag_left %}
    {% include 'oratk_app/tag_left_user.html' %}
{% endblock %}
{% block title %}
    <title>ORATK</title>
{% endblock %}
{% block userinfo %}
    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
        <h2 class="page-header">添加监控项页</h2>
        <form class="form-horizontal" action="{{ request.path }}" method="post" >
            <div class="form-group">
                <label class="col-sm-2 control-label">name：</label>
                <div class="col-sm-10">
                    <input type="text" style="width:300px;" class="form-control" name="add_name" placeholder="名称">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">desc：</label>
                <div class="col-sm-10">
                    <input type="text" style="width:300px;" class="form-control" name="add_desc" placeholder="描述">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">sqltext/host_command：</label>
                <div class="col-sm-10">
                    <textarea type="text" style="width:300px;" class="form-control" name="add_sqltext" placeholder="sqltext"> </textarea>
                </div>
            </div>
            <div class="form-group" id="point_type_div">
                <label class="col-sm-2 control-label" >point_type：</label>
                <div class="col-sm-3">
                    <select  class="form-control" id="add_point_type" name="add_point_type">
                        <option>sql类</option>
                        <option>host类</option>
                    </select>
                </div>
            </div>
            <div class="form-group" id="mail_status_div">
                <label class="col-sm-2 control-label" >limit_status：</label>
                <div class="col-sm-3">
                    <select  class="form-control" id="add_limit" name="add_limit">
                        <option>否</option>
                        <option>是</option>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">status：</label>
                <div class="col-sm-10">
                    <input type="text" style="width:300px;" class="form-control" name="add_status" placeholder="状态">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">remake：</label>
                <div class="col-sm-10">
                    <input type="text" style="width:300px;" class="form-control" name="add_remake"
                           placeholder="备注">
                </div>
            </div>
            <div class="col-sm-10">
                {#                <button type="submit" class="btn ">提交</button>#}
                <div style="text-align:center;vertical-align:middle;"><input type="submit" style="text-align:center;" class="btn" value="提交"></div>
            </div>
        </form>
    </div>
{% endblock %}

